package com.ss.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Data;

/**
 * 节点退回类型。
 * @Author: 夏十七
 * @Date: 2019/7/24 21:46
 * @Version 1.0
 */
public enum  SummerBackType {

    NOT(0,"不能退回"),
    ANYONE(1,"任意退回"),
    START(2,"退回编辑"),
    LAST(3,"退回上一节点");
    SummerBackType(int id,String name){
        this.id = id;
        this.name = name;
    }

    @EnumValue
    private final int id;
    private final String name;

    public int getId() {
        return id;
    }
}
